 export default {
   install(Vue){
		 Vue.prototype.sharelogin = function (){
            var url1 = window.location.href.split(':')[0];
            //  // console.log(url1);
            var link =url1 + this.$store.state.linkurltap;
            
            var url = window.location.href;
            console.log(url);
            
			
            var obj = {
            	title: '七颗牙学堂',		//分享标题
            	desc: this.$store.state.desc,						//分享内容
            	linkurl: link,//分享链接
            	img:'https://oss.qikeya.cn/Uploads/20180120/0674f69997472054a2cd466a7f6794e.png',
            }
            // console.log(Module.state.url);
            this.sdk.getJSSDK(url,obj,this.$store.state.url);

		 };

   }
 };